-- GENERATED SPELL FOR [Frostmane Hideskinner] --


function spell0_1122(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1122', 638, 1)
end

function Sorts_1122(pUnit, Event)
local choix_sorts_1122 = math.random(0, 0)
if choix_sorts_1122 == 0 then
pUnit:RegisterEvent('spell0_1122', 1, 1)
end
end

function mob1122_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1122', math.random(1500, 3000), 1)
end

function mob1122_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1122_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1122_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1122, 1, 'mob1122_Action')
RegisterUnitEvent(1122, 2, 'mob1122_Leave')
RegisterUnitEvent(1122, 3, 'mob1122_Kill')
RegisterUnitEvent(1122, 4, 'mob1122_Die')
